Select with Groups of 3 or 4

نویسندگان

  • Ke Chen
  • Adrian Dumitrescu
چکیده

We revisit the selection problem, namely that of computing the ith order statistic of n given elements, in particular the classical deterministic algorithm by grouping and partition due to Blum, Floyd, Pratt, Rivest, and Tarjan (1973). While the original algorithm uses groups of odd size at least 5 and runs in linear time, it has been perpetuated in the literature that using groups of 3 or 4 will force the worst-case running time to become superlinear, namely Ω(n log n). We first point out that the arguments existent in the literature justifying the superlinear worst-case running time fall short of proving this claim. We further prove that it is possible to use group size 3 or 4 while maintaining the worst case linear running time. To this end we introduce two simple variants of the classical algorithm, the repeated step algorithm and the shifting target algorithm, both running in linear time.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Efficacy of a recombinant trypsin product against bovine herpesvirus 1 associated with in vivo- and in vitro-derived bovine embryos.

Although porcine-origin trypsin will effectively remove bovine herpesvirus 1 (BHV-1) associated with in vivo-derived embryos, TrypLE, a recombinant trypsin-like protease, has not been evaluated. In Experiment 1, 17 groups of 10 in vivo-derived embryos were exposed to BHV-1, treated with TrypLE Express or TrypLE Select (10x concentration) for varying intervals, and assayed as 2 groups of 5 embry...

متن کامل

Quantitative abilities in a reptile (Podarcis sicula).

The ability to identify the largest amount of prey available is fundamental for optimizing foraging behaviour in several species. To date, this cognitive skill has been observed in all vertebrate groups except reptiles. In this study we investigated the spontaneous ability of ruin lizards to select the larger amount of food items. In Experiment 1, lizards proved able to select the larger food i...

متن کامل

Bioassay Methods useful to select the natural product cancer chemopreventive agents

Prevention of malignant disease such as cancer is obviously much more important than therapy, so primary prevention tactics should be invoked with the greatest possible effort. Because delaying a disease such as cancer is somehow equivalent to cure and it is now generally accepted that cancer can be managed through chemopreventive interventions. Since a considerable number of known cancer chemo...

متن کامل

Bioassay Methods useful to select the natural product cancer chemopreventive agents

Prevention of malignant disease such as cancer is obviously much more important than therapy, so primary prevention tactics should be invoked with the greatest possible effort. Because delaying a disease such as cancer is somehow equivalent to cure and it is now generally accepted that cancer can be managed through chemopreventive interventions. Since a considerable number of known cancer chemo...

متن کامل

The diagnostic value of fine needle aspiration in comparison with frozen section in thyroid nodules: A 20-year study

Background: Fine needle aspiration (FNA) is the most important method in the diagnosis of thyroid nodules before surgery. Recently, the efficiency of FNA in thyroid nodule management has been debatable. On the other hand, intraoperative frozen section (FS) has been used to confirm the diagnosis of FNA and select the proper surgical approach. In this regard, the present study aimed to assess the...

متن کامل

بهبود بخشی مهارت های اجتماعی دانش آموزان با ناتوانی های یادگیری غیرکلامی

The researches indicate that about one third of students with learning disabilities (already the largest group of students with disabilities) have nonverbal or social disabilities. Students with nonverbal learning disabilities, then, not only face academic challenges but have difficulty meeting social expectations, as well as many of life’s other demands. Actually, social skills problems and di...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2015